package constants;

import java.io.File;

/**
 * @Auther syc.
 * @Date 2016/11/14 14:19.
 */
public class Constants {

    //bats
    public static final String DB_STARTUP_BAT = "sdb.bat";
    public static final String WORLD_STARTUP_BAT = "sworld0.bat";
    public static final String CENTER_STARTUP_BAT = "scenter.bat";
    public static final String BRIDGE_STARTUP_BAT = "sbridge0.bat";


    public static final String GEN_CODE_BAT = "gen.bat";
    public static final String GEN_DB_CODE_BAT = "genDB.bat";
    public static final String PROTOCOL_GEN_BAT = "gen.bat";
    public static final String CONFIG_PROTOCOL_GEN_BAT = "ExcelToConf.bat";

    //names of paths in properties
    public static final String PROJECT_PATH_PRO_NAME = "yt.project.path";
    public static final String CONFIG_PATH_PRO_NAME = "yt.config.path";
    public static final String PROTOCOL_PATH_PRO_NAME = "yt.msg.path";
    public static final String CLIENT_PATH_PRO_NAME = "yt.client.path";
    public static final String PROTOCOL_EFFECT_PATH_PRO_NAME = "yt.msg.effect.path";
    public static final String CONFIG_JAVA_EFFECT_PATH_PRO_NAME = "yt.config.java.effect.path";
    public static final String CONFIG_JSON_EFFECT_PATH_PRO_NAME = "yt.config.json.effect.path";
    public static final String CONFIG_STAGE_EFFECT_PATH_PRO_NAME = "yt.config.stage.effect.path";


    //fixed paths
    public static final String RELATIVE_EFFECT_PATH =  File.separator + "world" + File.separator + "gen" + File.separator + "universal";
    public static final String RELATIVE_JSON_EFFECT_PATH =  File.separator + "json";
    public static final String RELATIVE_STAGE_EFFECT_PATH = File.separator + "world" + File.separator + "src" + File.separator + "META-INF" + File.separator + "stageConfig";

    public static final String CONFIG_JAVA_GEN_DIR_PATH = File.separator + "gen" + File.separator + "server" + File.separator + "universal" + File.separator + "config";
    public static final String CONFIG_JSON_GEN_DIR_PATH = Constants.CONFIG_JAVA_GEN_DIR_PATH + File.separator + "json";
    public static final String CONFIG_STAGE_GEN_DIR_PATH = File.separator + "stage";


    //exe
    public static final String CLIENT_BAT_NAME = "WinDemo.exe";

    // property file name
    public static final String PROPERTY_FILE = "game.properties";
    // plugin dir name
    public static final String PLUGIN_DIR = "plugin";
}

